package com.crm.dao.mapper.opportunityManager;

import com.crm.model.entity.opportunityManager.OpportunityGift;
import com.crm.model.entity.opportunityManager.OpportunityGiftExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpportunityGiftMapper {
    long countByExample(OpportunityGiftExample example);

    int deleteByExample(OpportunityGiftExample example);

    int deleteByPrimaryKey(String opportunityGiftId);

    int insert(OpportunityGift record);

    int insertSelective(OpportunityGift record);

    List<OpportunityGift> selectByExample(OpportunityGiftExample example);

    OpportunityGift selectByPrimaryKey(String opportunityGiftId);

    int updateByExampleSelective(@Param("record") OpportunityGift record, @Param("example") OpportunityGiftExample example);

    int updateByExample(@Param("record") OpportunityGift record, @Param("example") OpportunityGiftExample example);

    int updateByPrimaryKeySelective(OpportunityGift record);

    int updateByPrimaryKey(OpportunityGift record);
}